﻿#pragma once

#ifdef __cplusplus


#include "df_macro.h"
#include "IsContain.h"
#include "ScopeGuard.h"
#include "sdf.h"


#include "df_allocator.h"
#include "df_func.h"

#include "df_digit.h"
#include "BaseChar.h"

#include "basic_string_op.h"
#include "PtrWrap.h"
#include "df_clock.h"
#include "df_test.h"
#include "codeconvert.h"
#include "ErrLog.h"
#include "df_err.h"

#include "df_exception.h"
#include "df_dir.h"
#include "Time.h"
#include "df_file.h"
#include "ConvertString.h"
#include "Regexp.h"

namespace df
{

	inline void ShowConsole(){
#ifdef _MSC_VER
		setlocale(LC_ALL, "");
		///显示控制台并重定向输入输出
		AllocConsole(); freopen("CON", "r", stdin); freopen("CON", "w", stdout); freopen("CON", "w", stderr);
#endif
	}

	inline void Init()
	{
		
#if _DEBUG
		ShowConsole();
#endif
	}




}


#include "df_dir.hpp"
#include "ErrLog.hpp"
#include "df_exception.hpp"


#endif // __cplusplus